package com.borrow.mapper;


import com.entity.BorrowBookVo;
import com.entity.BorrowEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface BorrowMapper {


//    @Insert("insert into borrowtable values(0,#{uid},#{bid})")
    public int addBorrow(BorrowEntity entity);


    public List<BorrowBookVo> borrowBook(BorrowBookVo vo);

    public int borrowBookCount(BorrowBookVo vo);

}
